<template>
  <div>
    <i @click="newData()"><img src="../../assets/happy-9.png" title="表情" alt="" srcset="" width="30px"></i>
    <span class="hos"><strong>历史记录</strong> </span>
  </div>
</template>

<script>
  import {emoji} from "../../api/emoji"

  export default {
    methods: {
     newData(){
      console.log(emoji(20));
     }
    },
  }
</script>

<style lang="less" scoped>
.hos{
  float: right;
  overflow: hidden;
  margin-top: 2px;

    &>:hover{
      color: rgb(6, 86, 117);
      text-decoration: underline;

    }

}
img{
  margin-top: 4px;
}
</style>
